ngModel [NgModelController#$setPristine] ( type in module ng )

Description

Sets the control to its pristine state.

This method can be called to remove the 'ng-dirty' class and set the control to its pristine state (ng-pristine class).

Usage

NgModelController#$setPristine();